home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 2010 Software/Programs / PCGuia_programas.iso / Software / Utils / Universal Viewer / UniversalViewer.exe / Plugins / Syn2 / HL / MIBfiles(SNMPprotocol).lcf < prev    next >
Encoding:
Text File  |  2007-12-12  |  11.1 KB  |  491 lines

  1. object SyntAnal49: TLibSyntAnalyzer
  2.   Formats = <
  3.     item
  4.       DisplayName = 'Marked block'
  5.       Font.Charset = DEFAULT_CHARSET
  6.       Font.Color = clHighlightText
  7.       Font.Height = -13
  8.       Font.Name = 'Courier New'
  9.       Font.Style = []
  10.       BgColor = clHighlight
  11.       FormatType = ftColor
  12.     end
  13.     item
  14.       DisplayName = 'Symbol'
  15.       Font.Charset = RUSSIAN_CHARSET
  16.       Font.Color = clMaroon
  17.       Font.Height = -13
  18.       Font.Name = 'Courier New'
  19.       Font.Style = [fsBold]
  20.     end
  21.     item
  22.       DisplayName = 'Identifier'
  23.       Font.Charset = RUSSIAN_CHARSET
  24.       Font.Color = clWindowText
  25.       Font.Height = -13
  26.       Font.Name = 'Courier New'
  27.       Font.Style = []
  28.     end
  29.     item
  30.       DisplayName = 'Reserved word'
  31.       Font.Charset = RUSSIAN_CHARSET
  32.       Font.Color = clWindowText
  33.       Font.Height = -13
  34.       Font.Name = 'Courier New'
  35.       Font.Style = [fsBold]
  36.     end
  37.     item
  38.       DisplayName = 'Comment'
  39.       Font.Charset = RUSSIAN_CHARSET
  40.       Font.Color = clRed
  41.       Font.Height = -13
  42.       Font.Name = 'Courier New'
  43.       Font.Style = [fsBold]
  44.     end
  45.     item
  46.       DisplayName = 'String'
  47.       Font.Charset = DEFAULT_CHARSET
  48.       Font.Color = clBlue
  49.       Font.Height = -13
  50.       Font.Name = 'Courier New'
  51.       Font.Style = []
  52.     end
  53.     item
  54.       DisplayName = 'Number'
  55.       Font.Charset = DEFAULT_CHARSET
  56.       Font.Color = clNavy
  57.       Font.Height = -13
  58.       Font.Name = 'Courier New'
  59.       Font.Style = [fsBold]
  60.     end
  61.     item
  62.       DisplayName = 'Types'
  63.       Font.Charset = DEFAULT_CHARSET
  64.       Font.Color = clMaroon
  65.       Font.Height = -13
  66.       Font.Name = 'Courier New'
  67.       Font.Style = []
  68.     end
  69.     item
  70.       DisplayName = 'Objects'
  71.       Font.Charset = DEFAULT_CHARSET
  72.       Font.Color = clTeal
  73.       Font.Height = -13
  74.       Font.Name = 'Courier New'
  75.       Font.Style = [fsBold]
  76.     end>
  77.   TokenRules = <
  78.     item
  79.       DisplayName = 'Any name'
  80.       StyleName = 'Identifier'
  81.       TokenType = 2
  82.       Expression = '[a-z_][\w\-]*'
  83.       ColumnFrom = 0
  84.       ColumnTo = 0
  85.     end
  86.     item
  87.       DisplayName = 'Comment'
  88.       StyleName = 'Comment'
  89.       TokenType = 1
  90.       Expression = '--.*'
  91.       ColumnFrom = 0
  92.       ColumnTo = 0
  93.     end
  94.     item
  95.       DisplayName = 'Symbol'
  96.       StyleName = 'Symbol'
  97.       TokenType = 3
  98.       Expression = '[/\*,\.;:\(\)=<>\+\-\[\]\{\}]+'
  99.       ColumnFrom = 0
  100.       ColumnTo = 0
  101.     end
  102.     item
  103.       DisplayName = 'String'
  104.       StyleName = 'String'
  105.       TokenType = 4
  106.       Expression = '(?s)".*?("|\Z)'#13#10'#"(\\"|.)*?("|$)'
  107.       ColumnFrom = 0
  108.       ColumnTo = 0
  109.     end
  110.     item
  111.       DisplayName = 'Integer'
  112.       StyleName = 'Number'
  113.       TokenType = 5
  114.       Expression = '#any sequence of digits'#13#10'\d+'
  115.       ColumnFrom = 0
  116.       ColumnTo = 0
  117.     end>
  118.   BlockRules = <
  119.     item
  120.       DisplayName = 'Reserved'
  121.       StyleName = 'Reserved word'
  122.       BlockType = btTagDetect
  123.       ConditionList = <
  124.         item
  125.           TagList.Strings = (
  126.             'BEGIN'
  127.             'CHOICE'
  128.             'DEFINITIONS'
  129.             'DESCRIPTION'
  130.             'DISPLAY-HINT'
  131.             'END'
  132.             'FROM'
  133.             'IDENTIFIER'
  134.             'IMPORTS'
  135.             'MACRO'
  136.             'MAX-ACCESS'
  137.             'NOTIFICATION-TYPE'
  138.             'OBJECT'
  139.             'OBJECTS'
  140.             'OBJECT-TYPE'
  141.             'REFERENCE'
  142.             'REVISION'
  143.             'SEQUENCE'
  144.             'STATUS'
  145.             'SYNTAX')
  146.           TokenTypes = 4
  147.         end>
  148.       HighlightPos = cpAny
  149.       IgnoreAsParent = False
  150.     end
  151.     item
  152.       DisplayName = 'Types'
  153.       StyleName = 'Types'
  154.       BlockType = btTagDetect
  155.       ConditionList = <
  156.         item
  157.           TagList.Strings = (
  158.             'INTEGER'
  159.             'OCTET'
  160.             'STRING')
  161.           TokenTypes = 4
  162.         end>
  163.       HighlightPos = cpAny
  164.       IgnoreAsParent = False
  165.     end
  166.     item
  167.       DisplayName = 'Objects'
  168.       StyleName = 'Objects'
  169.       BlockType = btTagDetect
  170.       ConditionList = <
  171.         item
  172.           TagList.Strings = (
  173.             'MODULE-IDENTITY'
  174.             'NOTIFICATION-TYPE'
  175.             'OBJECT-IDENTITY'
  176.             'OBJECT-TYPE'
  177.             'TEXTUAL-CONVENTION')
  178.           TokenTypes = 4
  179.         end>
  180.       HighlightPos = cpAny
  181.       IgnoreAsParent = False
  182.     end
  183.     item
  184.       DisplayName = 'Object beg.'
  185.       ConditionList = <
  186.         item
  187.           TagList.Strings = (
  188.             'OBJECT-TYPE')
  189.         end
  190.         item
  191.           TokenTypes = 4
  192.         end>
  193.       IdentIndex = 1
  194.       BlockOffset = 1
  195.       BlockEnd = 'Object end.'
  196.       NameFmt = '%s1'
  197.       GroupFmt = '%e2'
  198.       HighlightPos = cpAny
  199.       DrawStaple = True
  200.       IgnoreAsParent = False
  201.     end
  202.     item
  203.       DisplayName = 'Object end.'
  204.       BlockName = 'Object beg.'
  205.       BlockType = btRangeEnd
  206.       ConditionList = <
  207.         item
  208.           TagList.Strings = (
  209.             '}')
  210.           TokenTypes = 8
  211.         end
  212.         item
  213.           TokenTypes = 32
  214.         end
  215.         item
  216.           TokenTypes = 4
  217.         end
  218.         item
  219.           TagList.Strings = (
  220.             '{')
  221.           TokenTypes = 8
  222.         end
  223.         item
  224.           TagList.Strings = (
  225.             '::=')
  226.           TokenTypes = 8
  227.         end>
  228.       HighlightPos = cpAny
  229.       IgnoreAsParent = False
  230.     end
  231.     item
  232.       DisplayName = '('
  233.       ConditionList = <
  234.         item
  235.           TagList.Strings = (
  236.             '(')
  237.           TokenTypes = 8
  238.         end>
  239.       NotCollapsed = True
  240.       DisplayInTree = False
  241.       DynHighlight = dhBound
  242.       HighlightPos = cpBoundTagBegin
  243.       DynSelectMin = True
  244.       IgnoreAsParent = False
  245.     end
  246.     item
  247.       DisplayName = ')'
  248.       BlockType = btRangeEnd
  249.       ConditionList = <
  250.         item
  251.           TagList.Strings = (
  252.             ')')
  253.           TokenTypes = 8
  254.         end>
  255.       HighlightPos = cpAny
  256.       IgnoreAsParent = False
  257.     end
  258.     item
  259.       DisplayName = 'Block comment'
  260.       BlockName = 'Block comment'
  261.       NotParent = True
  262.       AlwaysEnabled = True
  263.       ConditionList = <
  264.         item
  265.           TokenTypes = 2
  266.         end>
  267.       BlockEnd = 'Block comment end'
  268.       DisplayInTree = False
  269.       HighlightPos = cpAny
  270.       CollapseFmt = '{ ... }'
  271.       IgnoreAsParent = False
  272.     end
  273.     item
  274.       DisplayName = 'Block comment end'
  275.       BlockName = 'Block comment'
  276.       StrictParent = True
  277.       AlwaysEnabled = True
  278.       BlockType = btRangeEnd
  279.       ConditionList = <
  280.         item
  281.           CondType = tcNotEqual
  282.           TokenTypes = 2
  283.         end
  284.         item
  285.           TokenTypes = 2
  286.         end>
  287.       BlockOffset = 1
  288.       HighlightPos = cpAny
  289.       IgnoreAsParent = False
  290.     end
  291.     item
  292.       DisplayName = '{'
  293.       ConditionList = <
  294.         item
  295.           TagList.Strings = (
  296.             '{')
  297.           TokenTypes = 8
  298.         end>
  299.       BlockEnd = '}'
  300.       DisplayInTree = False
  301.       DynHighlight = dhBound
  302.       HighlightPos = cpRange
  303.       DrawStaple = True
  304.       CollapseFmt = '{ ... }'
  305.       IgnoreAsParent = False
  306.     end
  307.     item
  308.       DisplayName = '}'
  309.       BlockType = btRangeEnd
  310.       ConditionList = <
  311.         item
  312.           TagList.Strings = (
  313.             '}')
  314.           TokenTypes = 8
  315.         end>
  316.       HighlightPos = cpAny
  317.       IgnoreAsParent = False
  318.     end
  319.     item
  320.       DisplayName = 'Object identifier path'
  321.       BlockType = btRangeEnd
  322.       ConditionList = <
  323.         item
  324.           TagList.Strings = (
  325.             '}')
  326.           TokenTypes = 8
  327.         end
  328.         item
  329.           CondType = tcSkip
  330.           TokenTypes = 44
  331.         end
  332.         item
  333.           TagList.Strings = (
  334.             '{')
  335.           TokenTypes = 8
  336.         end>
  337.       NameFmt = '%s-1 %s-2'
  338.       HighlightPos = cpAny
  339.       NoEndRule = True
  340.       IgnoreAsParent = False
  341.     end
  342.     item
  343.       DisplayName = 'Object identifier'
  344.       ConditionList = <
  345.         item
  346.           TagList.Strings = (
  347.             '::=')
  348.           TokenTypes = 8
  349.         end
  350.         item
  351.           TagList.Strings = (
  352.             'IDENTIFIER')
  353.           TokenTypes = 4
  354.         end
  355.         item
  356.           TagList.Strings = (
  357.             'OBJECT')
  358.           TokenTypes = 4
  359.         end
  360.         item
  361.           TokenTypes = 4
  362.         end>
  363.       BlockEnd = 'Object identifier path'
  364.       NameFmt = '%s0 = %e2.%e1'
  365.       RefToCondEnd = True
  366.       HighlightPos = cpAny
  367.       IgnoreAsParent = False
  368.     end
  369.     item
  370.       DisplayName = 'Macro start'
  371.       ConditionList = <
  372.         item
  373.           TagList.Strings = (
  374.             'BEGIN')
  375.           TokenTypes = 4
  376.         end
  377.         item
  378.           TagList.Strings = (
  379.             '::=')
  380.           TokenTypes = 8
  381.         end
  382.         item
  383.           TagList.Strings = (
  384.             'MACRO')
  385.           TokenTypes = 4
  386.         end
  387.         item
  388.           TokenTypes = 4
  389.         end>
  390.       BlockEnd = 'END'
  391.       GroupFmt = 'MACRO'
  392.       RefToCondEnd = True
  393.       HighlightPos = cpAny
  394.       IgnoreAsParent = False
  395.     end
  396.     item
  397.       DisplayName = 'END'
  398.       BlockType = btRangeEnd
  399.       ConditionList = <
  400.         item
  401.           TagList.Strings = (
  402.             'END')
  403.           TokenTypes = 4
  404.         end>
  405.       HighlightPos = cpAny
  406.       IgnoreAsParent = False
  407.     end
  408.     item
  409.       DisplayName = 'Definitions'
  410.       ConditionList = <
  411.         item
  412.           TagList.Strings = (
  413.             'BEGIN')
  414.           TokenTypes = 4
  415.         end
  416.         item
  417.           TagList.Strings = (
  418.             '::=')
  419.           TokenTypes = 8
  420.         end
  421.         item
  422.           TagList.Strings = (
  423.             'DEFINITIONS')
  424.           TokenTypes = 4
  425.         end
  426.         item
  427.           TokenTypes = 4
  428.         end>
  429.       BlockEnd = 'END'
  430.       RefToCondEnd = True
  431.       HighlightPos = cpAny
  432.       IgnoreAsParent = False
  433.     end
  434.     item
  435.       DisplayName = 'IMPORTS'
  436.       ConditionList = <
  437.         item
  438.           TagList.Strings = (
  439.             'IMPORTS')
  440.           TokenTypes = 4
  441.         end>
  442.       BlockEnd = ';'
  443.       HighlightPos = cpAny
  444.       IgnoreAsParent = False
  445.     end
  446.     item
  447.       DisplayName = ';'
  448.       BlockType = btRangeEnd
  449.       ConditionList = <
  450.         item
  451.           TagList.Strings = (
  452.             ';')
  453.           TokenTypes = 8
  454.         end>
  455.       HighlightPos = cpAny
  456.       IgnoreAsParent = False
  457.     end
  458.     item
  459.       DisplayName = 'Imported Module'
  460.       ConditionList = <
  461.         item
  462.           TokenTypes = 4
  463.         end
  464.         item
  465.           TagList.Strings = (
  466.             'FROM')
  467.           TokenTypes = 4
  468.         end>
  469.       HighlightPos = cpAny
  470.       NoEndRule = True
  471.       IgnoreAsParent = False
  472.     end>
  473.   CodeTemplates = <>
  474.   SubAnalyzers = <>
  475.   TokenTypeNames.Strings = (
  476.     'Unknown'
  477.     'Comment'
  478.     'Identifier'
  479.     'Symbol'
  480.     'String'
  481.     'Integer const'
  482.     'Float const'
  483.     'Hex const'
  484.     'Char const'
  485.     'Preprocessor')
  486.   MarkedBlockStyle = 'Marked block'
  487.   Extentions = 'mib my'
  488.   LexerName = 'MIB files (SNMP protocol)'
  489.   Internal = True
  490. end
  491.